//
//  stationView.m
//  代理端
//
//  Created by mac on 16/3/8.
//  Copyright © 2016年 sliver. All rights reserved.
//

#import "stationView.h"
@interface stationView()

@property (weak, nonatomic) IBOutlet UILabel *nameLable;

@property (weak, nonatomic) IBOutlet UILabel *phoneLable;
@property (weak, nonatomic) IBOutlet UILabel *stationLable;
@property (weak, nonatomic) IBOutlet UIView *lineView;

@end
@implementation stationView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
-(void)awakeFromNib
{
    [AutoLayoutUtil autoLayoutWith:self.subviews];
}
-(void)gaveMeModel:(OrderDetailModel *)model
{
    self.nameLable.text = [NSString stringWithFormat:@"联系人:%@",model.consignee_name];
    NSString *phone = [NSString stringWithFormat:@"%@",model.consignee_telephone];
    self.phoneLable.text = phone;
    
    self.stationLable.text = model.consignee_address;
    
}
@end
